package 面向对象.课堂练习.编程题;

/**
 * @author IT_Jay
 * @date 2022/1/9 9:28 AM
 */
public class Capture {
    public String name;
    public String catalog;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public Capture() {
        this.name = "Red Alger";
        this.catalog = "Algea";
    }
    @Override
    public String toString(){
        return "name:"+name+"\tcatalog:"+catalog;
    }
}
class TestCapture{
    public static void main(String[] args){
        Capture capture = new Capture();
        System.out.println(capture);
    }
}